//引入mongoose
var mongoose =require("../../utils/dbUtils")
//创建studentSchema
var studentSchema = new mongoose.Schema({
    "name":String,
    "age":Number,
    "gender":String,
    "score":Number
 });
 //创建student模型
var studentModel = mongoose.model("studentModel", studentSchema, "students");
//导出模型让dao去调用
module.exports = studentModel;